package com.css.dzj.dzjfxyj.modules.distribute.entity;

import javax.persistence.*;
import java.sql.Timestamp;
import java.util.Date;
import java.util.Objects;

@Entity
@Table(name = "JG_FXYJ_FENFA", schema = "FXYJ", catalog = "")
public class JgFxyjFenfaEntity {
    private String id;
    private String operatePerson;
    private String operateOrg;
    private String disposeResult;
    private String disposeExplain;
    private Date fenfaTime;
    private String fenfaToOrg;
    private Date creatTime;
    private String creatPerson;
    private Date updateTime;
    private String updatePerson;
    private String getId;
    private String overState;
    private String revertState;

    @Id
    @Column(name = "Id")
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Basic
    @Column(name = "Operate_Person")
    public String getOperatePerson() {
        return operatePerson;
    }

    public void setOperatePerson(String operatePerson) {
        this.operatePerson = operatePerson;
    }

    @Basic
    @Column(name = "Operate_Org")
    public String getOperateOrg() {
        return operateOrg;
    }

    public void setOperateOrg(String operateOrg) {
        this.operateOrg = operateOrg;
    }

    @Basic
    @Column(name = "Dispose_Result")
    public String getDisposeResult() {
        return disposeResult;
    }

    public void setDisposeResult(String disposeResult) {
        this.disposeResult = disposeResult;
    }

    @Basic
    @Column(name = "Dispose_Explain")
    public String getDisposeExplain() {
        return disposeExplain;
    }

    public void setDisposeExplain(String disposeExplain) {
        this.disposeExplain = disposeExplain;
    }

    @Basic
    @Column(name = "Fenfa_Time")
    public Date getFenfaTime() {
        return fenfaTime;
    }

    public void setFenfaTime(Date fenfaTime) {
        this.fenfaTime = fenfaTime;
    }

    @Basic
    @Column(name = "Fenfa_To_Org")
    public String getFenfaToOrg() {
        return fenfaToOrg;
    }

    public void setFenfaToOrg(String fenfaToOrg) {
        this.fenfaToOrg = fenfaToOrg;
    }

    @Basic
    @Column(name = "Creat_Time")
    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    @Basic
    @Column(name = "Creat_Person")
    public String getCreatPerson() {
        return creatPerson;
    }

    public void setCreatPerson(String creatPerson) {
        this.creatPerson = creatPerson;
    }

    @Basic
    @Column(name = "Update_Time")
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Basic
    @Column(name = "Update_Person")
    public String getUpdatePerson() {
        return updatePerson;
    }

    public void setUpdatePerson(String updatePerson) {
        this.updatePerson = updatePerson;
    }

    @Basic
    @Column(name = "Get_Id")
    public String getGetId() {
        return getId;
    }

    public void setGetId(String getId) {
        this.getId = getId;
    }

    @Basic
    @Column(name = "Over_State")
    public String getOverState() {
        return overState;
    }

    public void setOverState(String overState) {
        this.overState = overState;
    }

    @Basic
    @Column(name = "Revert_State")
    public String getRevertState() {
        return revertState;
    }

    public void setRevertState(String revertState) {
        this.revertState = revertState;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        JgFxyjFenfaEntity that = (JgFxyjFenfaEntity) o;
        return Objects.equals(id, that.id) &&
                Objects.equals(operatePerson, that.operatePerson) &&
                Objects.equals(operateOrg, that.operateOrg) &&
                Objects.equals(disposeResult, that.disposeResult) &&
                Objects.equals(disposeExplain, that.disposeExplain) &&
                Objects.equals(fenfaTime, that.fenfaTime) &&
                Objects.equals(fenfaToOrg, that.fenfaToOrg) &&
                Objects.equals(creatTime, that.creatTime) &&
                Objects.equals(creatPerson, that.creatPerson) &&
                Objects.equals(updateTime, that.updateTime) &&
                Objects.equals(updatePerson, that.updatePerson) &&
                Objects.equals(getId, that.getId) &&
                Objects.equals(overState, that.overState) &&
                Objects.equals(revertState, that.revertState);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, operatePerson, operateOrg, disposeResult, disposeExplain, fenfaTime, fenfaToOrg, creatTime, creatPerson, updateTime, updatePerson, getId, overState, revertState);
    }
}
